package io.xccit.clients;


import io.xccit.pojo.param.ProductSearchParam;
import io.xccit.result.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author CH_ywx
 * @date 2023-09-13
 * @description 搜索服务远程调用
 */
@FeignClient("search-service")
public interface ISearchClients {

    @PostMapping("/search/product")
    AjaxResult searchProduct(@RequestBody ProductSearchParam productSearchParam);
}
